﻿namespace OneWorks.DataBase.Entity
{
    using System;
    using System.Collections.Generic;
    using System.Text;
    using OneWorks.Metadata.Interface;

    public partial class MenuRelation : IAggregateRoot
    {
        public MenuRelation()
        {   
        }

        public System.Guid ID { get; set; }
        public System.Guid ParentID { get; set; }
        public System.Guid ChildID { get; set; }
        public bool DelFlag { get; set; }
        public bool Enable { get; set; }
        public long CreateDate { get; set; }
        public int Depth { get; set; }

        public virtual Menu ChildMenu { get; set; }
        public virtual Menu ParentMenu { get; set; }
    }
}